/**
 * Created by TonyDon on 16-8-28.
 */
$(document).ready(function(){
    $(".thumbnail-img").each(function(){
        $(this).height($(this).width()/0.73);
        $(this).css("background-image","url("+$(this).attr("src")+")");
        $(this).css("background-position","50% 50%");
    });
});